package com.chenyao.bookstore.util;

/**
 * The common constants class.
 * 
 * @author YongXia.
 * 
 * @since jdk1.6
 * @version 1.0
 * 
 */
public final class Constants {
	/**
	 * The default database connection driver name.
	 */
	public static final String DB_CONN_DRIVER = "driver";

	/**
	 * The default database connection password.
	 */
	public static final String DB_CONN_PASSWORD = "password";

	/**
	 * The default database connection properties file path.
	 */
	public static final String DB_CONN_PATH = "db.properties";

	/**
	 * The default database connection URL.
	 */
	public static final String DB_CONN_URL = "url";

	/**
	 * The default database connection user name.
	 */
	public static final String DB_CONN_USERNAME = "username";

	/**
	 * The String MD5.
	 */
	public static final String MD5 = "MD5";

	/**
	 * The get method name prefix.
	 */
	public static final String METHOD_NAME_PREFIX_GET = "get";

	/**
	 * The get method name prefix.
	 */
	public static final String METHOD_NAME_PREFIX_IS = "is";

	/**
	 * The number 1.
	 */
	public static final int ONE = 1;

	/**
	 * The number 3.
	 */
	public static final int THREE = 3;

	/**
	 * The number 2.
	 */
	public static final int TWO = 2;

	/**
	 * The web parameter : method.
	 */
	public static final String WEB_PARAMETER_METHOD = "method";

	/**
	 * The number 0.
	 */
	public static final int ZERO = 0;

	private Constants() {
	}
}
